package com.geekchique.runningbuddy.view.mapofjog;

import com.google.googlenav.map.MapPoint;

public class JogRouteImpl implements IJogRoute{
	
	MapPoint startPoint;
	MapPoint endPoint;
	
	public JogRouteImpl() {
		startPoint = new MapPoint(37423157, -122085008); // 37.423157,-122.085008
		endPoint = new MapPoint(37495999, -122457508); // 37.495999,-122.457508
	}
	
	public int numPlacemarks() {
		return 2;
	}

	public MapPoint getStartPoint() {
		return startPoint;
	}

	public void setStartPoint(MapPoint startPoint) {
		this.startPoint = startPoint;
	}

	public MapPoint getEndPoint() {
		return endPoint;
	}

	public void setEndPoint(MapPoint endPoint) {
		this.endPoint = endPoint;
	}

	public MapPoint[] getRoute() {
		MapPoint[] route = new MapPoint[2];
		route[0] = startPoint;
		route[1] = endPoint;
		
		return route;
	}
	
}
